package com.yunhe.tianhe.rentcars.service.system;



import com.yunhe.tianhe.commons.dto.Pageable;
import com.yunhe.tianhe.rentcars.entity.system.Dept;

import java.util.List;

/**
 * # @Author: 贾波
 * # @Time: 2017-11-23-上午 10:27
 * # Description:
 */
public interface DeptService {
    Long save(Dept dept);

    void delete(Long id);

    Long update(Dept dept);

    Dept  findOne(Long id);

    List<Dept> findList();

    Pageable<Dept> findPageList(Long offset, Long limit);

    void deleteBatch(String ids);
}
